﻿#region License
// (c) Intergen.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
#endregion

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TextGlow.Control.Packaging
{
  public interface IPackagePart : IContainer
  {
    /// <summary>
    /// Gets the part's package.
    /// </summary>
    /// <value>The package.</value>
    IPackage Package { get; }

    /// <summary>
    /// Gets the part's content type.
    /// </summary>
    /// <value>The type of the content.</value>
    string ContentType { get; }

    /// <summary>
    /// Gets the part's type.
    /// </summary>
    /// <value>The type of the part.</value>
    PartType PartType { get; }

    /// <summary>
    /// Gets the part's content.
    /// </summary>
    /// <returns></returns>
    string GetContent();
  }
}